﻿// -----------------------------------------------------------------------
// <copyright file="Tag.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2013. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Core.Entities.Library
{
	#region Usings

	using System;
	using System.Collections.Generic;
	using System.ComponentModel.DataAnnotations.Schema;
	using System.Linq;

	#endregion

	/// <summary>
	/// Tag entity.
	/// </summary>
	public partial class Tag
	{
		#region Properties

		/// <summary>
		/// Gets or sets the tag id.
		/// </summary>
		public int ID { get; set; }

		/// <summary>
		/// Gets or sets the tag name.
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Gets or sets books collection.
		/// </summary>
		public virtual ICollection<Book> Books { get; set; }

		#endregion
	}
}
